#SOURCES
src_s = graph_seq.c
src_p = graph_par.c

#COMPILER
CC = gcc

#BINARIES
exe_s = ./graph_seq
exe_p = ./graph_par

#ARGS
OBJ = -o
OMP = -fopenmp

#CASE TEST
t1 = input1.txt
t2 = input2.txt
t3 = input3.txt

all:
	$(CC) $(src_s) $(OBJ) $(exe_s)
	$(CC) $(src_p) $(OBJ) $(exe_p) $(OMP)

#SEQUENTIAL TEST
s:
	$(exe_s) < $(t1)
	$(exe_s) < $(t2)
	$(exe_s) < $(t3)

#PARALLEL TEST
p:
	$(exe_p) < $(t1)
	$(exe_p) < $(t2)
	$(exe_p) < $(t3)

